#!/bin/bash

remote=`cat .git/config | grep "remote \"" | awk -F \" '{print $2}'`
branch=`cat .git/config | grep "branch \"" | awk -F \" '{print $2}' | awk NR==1`

git push ${remote} HEAD:refs/for/${branch}
